package com.lee.taste.spider.sohu.entity;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class SaleBrand extends Sale implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6951297161115961923L;

	public SaleBrand(String id, String name, String date, String salesNum) {
		super();
		this.id = id;
		this.name = name;
		this.date = date;
		this.salesNum = salesNum;
	}
	public String toTruncateString(){
		return " truncate table sohu_car_brand_sale ";
	}
	public String toInsertString() {
		return " insert into sohu_car_brand_sale(`id`,`name`,`date`,`sales_num`) values ('" + id + "','" + name + "', '"
				+ date + "', '" + salesNum + "') ";
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
